﻿using RBAC.Repository;
using Sowrk03_28.Repository.Interface;
using Swork03_28.Domain.TraceableInfos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Sowrk03_28.Repository.Impls
{
    public class GoodsRepository : Repository<GoodsInfo>, IGoodsRepository
    {
        public GoodsRepository(MyDbContext dbcontext) : base(dbcontext)
        {
        }

        public async Task<List<GoodsInfo>> AllAsync()
        {
            return await base.AllAsync();
        }

        public Task<int> CreateAsync(GoodsInfo entity)
        {
            throw new NotImplementedException();
        }

        public Task<int> DeleteAllAsync(List<GoodsInfo> t)
        {
            throw new NotImplementedException();
        }

        public Task<int> DeleteAsync(GoodsInfo entity)
        {
            throw new NotImplementedException();
        }

        public async Task<GoodsInfo> GetAsync(int id)
        {
            return await base.GetAsync(id);
        }

        public Task<List<GoodsInfo>> GetValues(Expression<Func<GoodsInfo, bool>> expre)
        {
            throw new NotImplementedException();
        }

        public Task<int> UpdateAsync(GoodsInfo entity)
        {
            throw new NotImplementedException();
        }
    }
}
